package com.art.utils;

import com.alibaba.druid.pool.DruidDataSource;
import org.apache.ibatis.datasource.pooled.PooledDataSourceFactory;

/**
 * IntelliJ IDEA
 *
 * @author 谭礼赞 2038940123
 * @since 2022-11-07-2022/11/7
 */

//通过继承连接池工厂PooledDataSourceFactory，实现Druid连接池
public class DruidDataSourceFactory extends PooledDataSourceFactory {
    public DruidDataSourceFactory() {
        this.dataSource=new DruidDataSource ();
    }
}
